package com.jielin.handling.exception;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class MyException extends RuntimeException {
	private static final long serialVersionUID = 1L;
	private int code;

	public MyException(String msg){
		super(msg);
	}

	public MyException(int code,String msg){
		super(msg);
		this.code=code;
	}
	
}
